package top.superflow.flow.config

import top.superflow.lang.StringUtils

import scala.beans.BeanProperty

class RouteConfig extends RoutableConfig with Config{

  @BeanProperty
  var posts : Array[PostNodeConfig] = _

  override def getKey : String = {
    if(StringUtils.isNotBlank(super.getKey)){
      super.getKey
    }else{
      this.route
    }
  }

}
